<?
session_start();
include('settings.php');
include(ADMINPATH.'/includes/db.class.php');
include(ADMINPATH.'/includes/function.php');

$db = new DB(DB_NAME, DB_SERVER, DB_USER, DB_PWD);
$db->charset(DB_CHARSET);

// Nawattapon
$urix = explode("/", $_SERVER['PHP_SELF'] );
$uri = end($urix);
// Nawattapon
?>